<?php
/**
 * Created by PhpStorm.
 * User: xiongrui
 * Date: 2017-06-30
 * Time: 17:17
 */

namespace app\admin\validate;



use app\common\exception\Skip;
use think\Request;
use think\Validate;

class Price extends BaseValidate
{

    public function __construct($field = ['price'])
    {
        $rulecontent = [];
        foreach ($field as $item) {
            $rulecontent[$item] = 'require|egt:0';
        }
        $this->rule = $rulecontent;
    }


}
